/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.router.facade.order;

import info.peigen.hotpot.business.router.facade.enums.BatchNotifyStatus;
import info.peigen.hotpot.common.core.lang.money.Money;
import info.peigen.hotpot.common.service.base.ServiceOrderBase;
import lombok.AccessLevel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

import java.util.Date;

/**
 * <b>(GatewayWithdrawCompletedCallbackOrder)</b>
 * 提现完成回调Order
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/9/13
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class GatewayWithdrawCompletedCallbackOrder extends ServiceOrderBase {
    /** 批次号 */
    String            batchNo;
    /** 批量通知状态 **/
    BatchNotifyStatus status;
    /** 总金额，包含币种 */
    Money             totalAmount;
    /** 成功金额，包含币种 */
    Money             successAmount;
    /** 总比数 */
    Integer           totalCount;
    /** 成功比数 */
    Integer           successCount;
    /** 交易时间 */
    Date              transDate;
    /** 渠道响应原始报文 */
    String            requestJson;
}
